package com.petrochina.cloudconfig.mapper;

import com.petrochina.cloudconfig.domain.DeployServer;
import com.petrochina.cloudconfig.domain.Env;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * env mapper
 */
public interface ServerMapper {

    public List<DeployServer> list(@Param("ips") List<String> ips);


    public DeployServer getDeployServer(String ip);


    public boolean addDeployServer(DeployServer server);


    public boolean delDeployServer(String ip);


}

